package com.chixing.ih.module.task.pojo.DTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 目的:订单和任务详情DTO
 *
 * @author ：zcw
 * @version: 1.0  2020/10/2 18:51
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class OrderDescDTO {
    @ApiModelProperty(value = "订单id", required = true)
    private Long orderId;

    @ApiModelProperty(value = "订单编号", required = true)
    private String orderNum;

    @ApiModelProperty(value = "发任务id", required = true)
    private Long sendTaskUserId;

    @ApiModelProperty(value = "接任务id", required = true)
    private Long receiveTaskUserId;

    @ApiModelProperty(value = "任务id", required = true)
    private Long TaskId;

    @ApiModelProperty(value = "订单金额", required = true)
    private Double salary;

    @ApiModelProperty(value = "订单开始时间", required = true)
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date orderBeginTime;

    @ApiModelProperty(value = "订单结束时间", required = true)
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date orderEndTime;

    @ApiModelProperty(value = "订单状态", required = false)
    private Integer orderStatus;

    @ApiModelProperty(value = "逻辑删除", required = false)
    private Integer logicalDeletion;

    @ApiModelProperty(value = "创建时间", required = false)
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新时间", required = false)
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date updateTime;



    @ApiModelProperty(value = "id", required = true)
    private Long id;

    @ApiModelProperty(value = "发布者id", required = true)
    private Long isSuerId;

    @ApiModelProperty(value = "任务标题", required = true)
    private String mandateTitle;

    @ApiModelProperty(value = "人才类别", required = true)
    private String talentCategory;

    @ApiModelProperty(value = "需求描述", required = true)
    private String requirementsDescription;

    @ApiModelProperty(value = "技能要求", required = true)
    private String skillsRequirements;

    @ApiModelProperty(value = "工作方式", required = true)
    private Integer operationMode;


    @ApiModelProperty(value = "工作周期", required = true)
    private String workCycle;

    @ApiModelProperty(value = "工作地点", required = true)
    private String workPlace;

    @ApiModelProperty(value = "发布人姓名", required = true)
    private String isSuerName;

    @ApiModelProperty(value = "发布人手机号", required = true)
    private String isSuerTelephone;

    @ApiModelProperty(value = "任务状态", required = false)
    private Integer taskStatus;

    @ApiModelProperty(value = "发布状态", required = false)
    private Integer releaseStatus;

    @ApiModelProperty(value = "是否标记", required = false)
    private Integer marked;

    @ApiModelProperty(value = "是否刷新", required = false)
    private Integer refreshing;
}
